package com.gxa.eshop.service;

import com.gxa.eshop.common.PageResult;
import com.gxa.eshop.pojo.Brand;

import java.util.List;
import java.util.Map;

/**
 * @author bill
 * @date 2022/1/19 10:13
 */
public interface BrandService {

    public List<Brand> findAll();

    public PageResult<Brand> findPage(int page, int size);

    public List<Brand> findList(Map<String, Object> searchMap);

    public PageResult<Brand> findPage(Map<String, Object> searchMap, int page, int size);

    public Brand findById(Integer id);

    public void add(Brand brand);

    public void update(Brand brand);

    public void delete(Integer id);
}
